/*
    Colours */

@white: #FFFFFF;
@black: #000000;

@darkestGrey: #232526;
@darkGrey: #343637;
@midGrey: #A6A8A9;
@lightGrey: #E6E8E9;
@lightestGrey: #F6F8F9;

@pink: #F2318D;
@blue: #008dd5;
@red: #fb6107;
@green: #47d966;
@yellow: #ecc30b;

@formBorderGrey: @lightGrey;
@formBorderGreyHover: #D6D8D0;
@formBorderGreyActive: #A6A8A9;

@textGrey: #333536;
@lightTextGrey: #666869;
@lightestTextGrey: #999B9C;


/*
    Variables */

@topHeight: 53px;

@sidebarWidth: 175px;
@threadSidebarWidth: 275px;
@borderRadius: 5px;

@titleTextSize: 17px;
@bigTextSize: 15px;
@textSize: 13px;
@smallTextSize: 11px;


/*
    Custom scrollbar */

.scrollbar {
    overflow-y: scroll;
}

.no-select {
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.no-transition {
    transition: none !important;
}


/*
    Basics */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans';
    font-size: @textSize;
    line-height: 24px;
    height: 100%;
    width: 100%;
    position: relative;
    margin: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

h1, h2, h3 {
    font-weight: normal;
}

input {
    font-family: 'Open Sans';
}


/*
    Layout */

.wide {
    width: 100%;
}

.third {
    width: 33%;
}

.two-third {
    width: 66%;
}

.three-quarter {
    width: 74%;
}

.quarter {
    width: 24%;
}

.half {
    width: 49%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    &.justify-left {
        justify-content: left;
    }
}



/*
    Forms */

button {
    padding: 5px;
    font-weight: 700;
    font-size: @textSize;
    border: none;
    border-radius: @borderRadius;
    color: white;
    cursor: pointer;

    &.disabled, &.disabled:hover {
        cursor: auto;
    }

    &.main-button {
        padding: 15px;
        font-size: 16px;
    }
}

input, textarea {
    width: 100%;
    border-radius: @borderRadius;
    padding: 5px;
    border: 1px solid;
    font-size: @textSize;

    &:hover, &:focus {
        outline: none;
    }

    &.inline, &[type=checkbox] {
        width: auto;
    }
}


/*
    Other bits ??? */

span.multi-subject {
    margin-right: 4px;
    border-radius: 24px;
    width: 24px;
    height: 24px;
    float: left;
    text-align: center;
    display: inline-block;
    font-size: @smallTextSize;
}

.tooltip-wrapper {
    display: inline-block;
}

.tooltip {
    z-index: 9999;
    position: absolute;
    font-size: @smallTextSize;
    border-radius: @borderRadius;
    padding: 3px 5px;
    background: black;
    color: white;

    i.fa-keyboard-o {
        font-size: @bigTextSize;
    }
}
